
<html>
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta http-equiv="X-UA-Compatible" content="ie=edge" />
	<title></title>
</head>
<body>
	<?php
 require("dblink.php");
 
 if($_GET["id"]){

   $sql3 = "update room set 确认='Y' where 房间号=".$_GET["id"];
    //echo $sql3;
    mysqli_query($db_link,$sql3) or die ("失败：".mysqli_error($db_link));
    
     Header("Location: list.php ");
 }else{
 	echo"信息不能为空！";
 }
?>
</body>
</html>